﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace MuggleTactics
{
    class LevelLoader : Microsoft.Xna.Framework.DrawableGameComponent
    {
        Texture2D backgroundImage;
        Point imageSize;
        Vector2 imageOrigin;

        public LevelLoader(Game game)
            : base(game)
        {
        }

        protected override void LoadContent()
        {
            backgroundImage = Game.Content.Load<Texture2D>(@"Resources/Images/BattleMap1");
        }

        public void Draw(GameTime gameTime, SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(backgroundImage, Vector2.Zero, Color.White);

            base.Draw(gameTime);
        }
    }
}
